import React from 'react'
import { connect } from 'react-redux'
import { getUserList } from '../../redux/chat_redux'
import UserCard from '../userCard/usercard';

@connect(
    state=>state.chatuser,
    { getUserList }
)

class Genius extends React.Component{

    render(){
        return <UserCard userList={this.props.userList}></UserCard>
    }
}


export default Genius